﻿/*
 * Created by SharpDevelop.
 * User: notmmao
 * Date: 2008-4-2
 * Time: 9:25
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using System.Windows.Forms;

namespace Deebug.Games.ShortBoom
{
	/// <summary>
	/// Description of KeyBoard.
	/// </summary>
	public static class KeyBoard
	{
		public static bool Left = false;
		public static bool Right = false;
		public static bool Space = false;
		
		public static void KeyDown(Keys key){
			switch(key){
					case Keys.Left:Left = true;break;
					case Keys.Right:Right =true;break;
					case Keys.Space:Space = true;break;
			}
		}
		public static void KeyUp(Keys key){
			switch(key){
					case Keys.Left:Left = false;break;
					case Keys.Right:Right =false;break;
					case Keys.Space:Space = false;break;
			}
		}
		
	}
}
